import { createStore } from 'vuex'
import mutations from './mutations'
import actions from './action'
import getters from './getter'

const state = {
	username:'', // 登录用户名
	cartCount:0, // 购物车商品数量
	token:'' ,// token
	user:'',
	pageSizeOptions: ['1', '3', '50', '100', '150'],
}
var store= createStore({
	state,
	mutations,
	actions,
	getters
})

export default store
